/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.product.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.product.entity.WxProduct;
import com.thinkgem.jeesite.modules.product.dao.WxProductDao;

/**
 * 产品管理Service
 * @author 李云涛
 * @version 2017-09-03
 */
@Service
@Transactional(readOnly = true)
public class WxProductService extends CrudService<WxProductDao, WxProduct> {

	public WxProduct get(String id) {
		return super.get(id);
	}
	
	public List<WxProduct> findList(WxProduct wxProduct) {
		return super.findList(wxProduct);
	}
	
	public Page<WxProduct> findPage(Page<WxProduct> page, WxProduct wxProduct) {
		return super.findPage(page, wxProduct);
	}
	
	@Transactional(readOnly = false)
	public void save(WxProduct wxProduct) {
		super.save(wxProduct);
	}
	
	@Transactional(readOnly = false)
	public void delete(WxProduct wxProduct) {
		super.delete(wxProduct);
	}
	
}